package com.pptree.service;

import java.util.List;

import com.pptree.vo.News;
import com.pptree.vo.NewsDomain;
import com.pptree.vo.PageVo;

public interface NewsService {
	public List<News> findNewsTopNum(int tid, int num);

	public List<News> findNewsTopN(int top);

	public int addNews(News news);

	public int delNews(int nid);

	public int updateNews(News news);

	public List<NewsDomain> findAllNews();

	public News findById(int nid);

	// 分页
	public PageVo<NewsDomain> findByPaging(int curPageNo, int pageSize);

	
}
